package cs.sxh.service;

import cs.sxh.pojo.User;

import java.util.List;

/**
 * @author songxh
 * @create 2022-03-22-19:47
 */
public interface UserService {
    User queryUserByUidAndPassword(String uid, String u_password);

    //修改密码
    int updatePassword(String uid,String repassword);

    User queryUserById(int id);


    List<User> queryAllUser();

    int updateUser(User user);

    int deleteUser(int id);

    int addUser(User user);
}
